import "reflect-metadata";

export function Injectable(): ClassDecorator {
  return (target: Function) => {
    // 给类的定义添加 metadata
    Reflect.defineMetadata("injectable", true, target);
  };
}
